From: Keir Fraser Date: Sat, 2 Feb 2008 10:53:24 +0000 (+0000) Subject: xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14341^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=48a61dfceae46a30694d5fe9e70e3123f5dfafb7;p=xen.git xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time we instantiate a new XendConfig. Signed-off-by: Pascal Bouchareine --- diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index 2c6f3af5af..8e5d258f02 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -514,8 +514,8 @@ class XendConfig(dict): int(sxp.child_value(sxp_cfg, "cpu_cap", 0)) # Only extract options we know about. - extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG - extract_keys += XENAPI_CFG_TO_LEGACY_CFG.values() + extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG + \ + XENAPI_CFG_TO_LEGACY_CFG.values() for key in extract_keys: val = sxp.child_value(sxp_cfg, key)